﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VisionCore;
using Newtonsoft.Json.Serialization;
using Newtonsoft.Json;
using System.Runtime.Serialization;


namespace VisionCore
{
    [Serializable]
    public class TrainModel
    {
        //[Category("a.Train参数"), DisplayName("01.检测参数"), Description("")]
        //[TypeConverter(typeof(ExpandableObjectConverter))]
        //public PRM_Inspection_Train InspParam { get; set; } = new PRM_Inspection_Train();

        //[Category("a.Train参数"), DisplayName("01.红外参数"), Description("")]
        //[TypeConverter(typeof(ExpandableObjectConverter))]
        //public PRM_Infrared_Train Infrared { get; set; } = new PRM_Infrared_Train();

        //[Category("a.Train参数"), DisplayName("02.光源参数"), Description("")]
        //[TypeConverter(typeof(ExpandableObjectConverter))]
        //public PRM_Light Light { get; set; } = new PRM_Light();

        [Category("a.Train参数"), DisplayName("03.Panel参数"), Description(""), Browsable(false)]
        [TypeConverter(typeof(ExpandableObjectConverter))]
        public PRM_PanelInfo PanelInfo { get; set; } = new PRM_PanelInfo();

        [Category("a.Train参数"), DisplayName("04.Wafer参数"), Description("")]
        [TypeConverter(typeof(ExpandableObjectConverter))]
        public PRM_WaferInfo WfInfo { get; set; } = new PRM_WaferInfo();

        //[Category("a.Train参数"), DisplayName("**.背面检模式"), Description("")]
        //public bool InspBackEn { get; set; } = false;
    }
}
